|
|
|
|
|
|
|
(table continued on previous page) |
|
|
|
|
| Property | Description | | Sorted | Set this property to True to have the items added to the combo box displayed in a sorted order. | | Style | Set this property to 0-DropDown Combo, 1-Simple Combo, or 2-DropDown List. |
|
|
|
|
|
|
Every Windows applications has a menu bar directly under the title of the window. Menus are used to present multiple choices and actions for a user to perform. Menus can be designed for those users who need or prefer to use the keyboard. Menus offer additional functionality to your Visual Basic program, such as context-sensitive menus that pop up when right-clicked with the mouse. |
|
|
|
|
|
|
|
|
Youll find many standard menu items from one Windows application to another. For example, youll always find a File menu. Under the File menu, youll typically find an Exit or Close menu. In most applications, youll find a Help menu with an About menu item that displays a dialog box containing information about the application. |
|
|
|
|
|
|
|
|
Before building menus for your application, look at existing menu designs in other Windows applications. Youll see some standard menu items as well as standard conventions for informing the user of what the menu items can accomplish. |
|
|
|
|
|
|
|
|
Look at Visual Basic, Word, Excel, PowerPoint, or any other Windows product and observe the different menus. Here are some standard conventions to follow when creating your menus: |
|
|
|
|
|
|
|
|
An arrow to the right of a menu item signifies that another menu will display when you click this one. Visual Basic automatically adds an arrow if you create drop-down menus. |
|
|
|
|
|
|
|
|
An ellipsis (. . .) signifies that clicking this menu item brings up a dialog box that asks you for information. Visual Basic will not insert ellipses for you. You must put them on the menu item yourself if youll be calling a dialog box from that menu item. |
|
|
|
|
|